package org.ddd.specification.jpa.conversion;

import java.lang.reflect.Method;

import org.ddd.specification.Specification;
import org.ddd.specification.jpa.JpaSpecification;

public class JpaSpecificationConversionReference {
    private Object conversionHandler;
    private Method conversionMethod;

    public <X> JpaSpecification<X> makeQueryable(Specification<X> specification) {
        return new ConversionInvokingJpaSpecification<X>(specification, conversionHandler, conversionMethod);
    }

}
